package fr.vod.util;

public interface ExchangeProperties {
	
	// / indique le type du message
	static public final int MESSAGE_HELLO = 1;
	static public final int MESSAGE_NUMBER_DEVICES = 2;
	static public final int MESSAGE_AVAILABLE_DEVICES = 3;
	
	final static int PORT_SYNCHRO = 1234;
	final static int PORT_TRANSFERT = 1235;
	final static int PORT_HEARTBEAT = 1236;
	
	final static int HEARTBEAT_SLEEP = 5000; // in ms
	final static int HEARTBEAT_REFRESH = 10; // in seconds
	public static final int NUMBER_PING = 3; // n tries
}
